package com.six.goods.service;

import com.six.core.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.six.core.entity.Deposit;
import com.six.core.vo.Result;

/**
* @author wang
* @description 针对表【sto_category】的数据库操作Service
* @createDate 2023-02-27 15:19:59
*/
public interface CategoryService extends IService<Category> {
    //商品列表--分页查询
    Result seleAllCategory(Integer currentPage, Integer pageSize,Category category);
    //删除
    Result deleteCategory(Integer id);
    //修改
    Result updateCategory(Category category);
    //添加
    Result insertCategory(Category category);

    //下拉查询
    Result seleCG();

    Category selectByCategoryname(Category category);
}
